package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_list_2 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$

    public _jet_list_2() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_get_1_36 = new TagInfo("c:get", //$NON-NLS-1$
            1, 36,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_3_24 = new TagInfo("c:get", //$NON-NLS-1$
            3, 24,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_4_49 = new TagInfo("c:get", //$NON-NLS-1$
            4, 49,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_4_111 = new TagInfo("c:get", //$NON-NLS-1$
            4, 111,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_7_36 = new TagInfo("c:get", //$NON-NLS-1$
            7, 36,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_9_24 = new TagInfo("c:get", //$NON-NLS-1$
            9, 24,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_11_49 = new TagInfo("c:get", //$NON-NLS-1$
            11, 49,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "lowercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_11_111 = new TagInfo("c:get", //$NON-NLS-1$
            11, 111,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        out.write("\t@RequestMapping(value = \"/restList");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_1_36 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_1_36); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_1_36.setRuntimeParent(null);
        _jettag_c_get_1_36.setTagInfo(_td_c_get_1_36);
        _jettag_c_get_1_36.doStart(context, out);
        _jettag_c_get_1_36.doEnd();
        out.write("s\", method = RequestMethod.GET)");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t@ResponseBody");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tpublic Object restList");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_3_24 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_24); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_3_24.setRuntimeParent(null);
        _jettag_c_get_3_24.setTagInfo(_td_c_get_3_24);
        _jettag_c_get_3_24.doStart(context, out);
        _jettag_c_get_3_24.doEnd();
        out.write("s() {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\treturn JSONObject.parse(cmiPsonService.toJson(");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_4_49 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_4_49); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_4_49.setRuntimeParent(null);
        _jettag_c_get_4_49.setTagInfo(_td_c_get_4_49);
        _jettag_c_get_4_49.doStart(context, out);
        _jettag_c_get_4_49.doEnd();
        out.write("Service.load");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_4_111 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_4_111); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_4_111.setRuntimeParent(null);
        _jettag_c_get_4_111.setTagInfo(_td_c_get_4_111);
        _jettag_c_get_4_111.doStart(context, out);
        _jettag_c_get_4_111.doEnd();
        out.write("s(), 2));");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t}      ");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t@RequestMapping(value = \"/restList");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_7_36 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_7_36); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_7_36.setRuntimeParent(null);
        _jettag_c_get_7_36.setTagInfo(_td_c_get_7_36);
        _jettag_c_get_7_36.doStart(context, out);
        _jettag_c_get_7_36.doEnd();
        out.write("sPost\", method = RequestMethod.POST)");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t@ResponseBody");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tpublic Object restList");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_9_24 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_9_24); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_9_24.setRuntimeParent(null);
        _jettag_c_get_9_24.setTagInfo(_td_c_get_9_24);
        _jettag_c_get_9_24.doStart(context, out);
        _jettag_c_get_9_24.doEnd();
        out.write("sPost(@RequestBody CmiPagination cmiPagination) {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\tCmiPsonService cmiPsonService = new CmiPsonService();");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\treturn JSONObject.parse(cmiPsonService.toJson(");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_11_49 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_11_49); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_11_49.setRuntimeParent(null);
        _jettag_c_get_11_49.setTagInfo(_td_c_get_11_49);
        _jettag_c_get_11_49.doStart(context, out);
        _jettag_c_get_11_49.doEnd();
        out.write("Service.load");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_11_111 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_11_111); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_11_111.setRuntimeParent(null);
        _jettag_c_get_11_111.setTagInfo(_td_c_get_11_111);
        _jettag_c_get_11_111.doStart(context, out);
        _jettag_c_get_11_111.doEnd();
        out.write("s(), 2, cmiPagination));");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t}                   ");  //$NON-NLS-1$        
    }
}
